import query from '@/utils/query.js'
import localStorage from '@/utils/localStorage.js'
export default function beforeEach(to, from, next) {
  if (query.authcode) {
    localStorage.set('authcode', query.authcode)
  } else {
    // todo 客户端登录
  }
  next()
}
